﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddMoney.aspx.cs" Inherits="Admin_AddMoney"
    MasterPageFile="~/Site.master" %>

<asp:Content ID="Content" ContentPlaceHolderID="MainContent" runat="Server">
    <br />
    <asp:HyperLink ID="AdminMoneyHyperLink" NavigateUrl="~/Admin/Admin.aspx" runat="server">Администраторская панель</asp:HyperLink>
    &nbsp;→
    &nbsp; 
    <asp:HyperLink ID="AdminMoneyHyperLink2" NavigateUrl="~/Admin/BankAccounts.aspx"
        runat="server">Счета банка</asp:HyperLink>
    &nbsp;
        <b>→&nbsp; <asp:Label ID="AdminMoneyLabel1" runat="server" ForeColor="Black" Text="Пополнение счета банка"></asp:Label></b>
    <br />
    <br />
    <table>
        <tr>
            <td>
                Сумма:
            </td>
            <td>
                <asp:TextBox MaxLength="12" ID="Money" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ControlToValidate="Money" CssClass="failureNotification"
                    Display="Dynamic" ID="CurrencyUSDValidator" runat="server" ValidationGroup="RegisterMoneyValidationGroup">*</asp:RequiredFieldValidator>
                </td>
            <td>
                <asp:Label ID="CurrencyLabel" runat="server" Text=""></asp:Label>
            </td>
                <td>
                
                <asp:RegularExpressionValidator runat="server" ID="MoneyValidator2" ControlToValidate="Money"
                    Text="Введите целое положительное число." Display="Dynamic" ForeColor="Red" ValidationExpression="(^[1-9][0-9]*$)"
                    ValidationGroup="RegisterMoneyValidationGroup" />
            </td>
           
        </tr>
    </table>
    <br />
    <asp:Button ID="AddButton" runat="server" Text="Пополнить" OnClick="AddButton_Click"
        ValidationGroup="RegisterMoneyValidationGroup" />
</asp:Content>
<asp:Content ID="Content1" runat="server" contentplaceholderid="HeadContent">
</asp:Content>

